package com.dh.bm.dao;

import com.dh.bm.entity.Book;
import com.dh.bm.entity.Category;

import java.util.List;

public interface CategoryDao {
    List<Category> selectAll();

    Category selectById(int id);

    boolean updateById(int id, Category category);

    boolean deleteById(int id);

    boolean insert(Category category);
}
